package com.mbigger.log.slf4j;

import java.net.URL;
import java.util.Enumeration;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * Hello world!
 *
 */
public class App 
{
    public static void main( String[] args ) throws Exception
    {
        Logger logger = LoggerFactory.getLogger(App.class);
        logger.debug("{}和{}","你","我");
        
        Enumeration<URL> paths = ClassLoader.getSystemResources("org/slf4j/impl/StaticLoggerBinder.class");
        while (paths.hasMoreElements()) {
            URL path = paths.nextElement();
            logger.info("LoggerBinder class: {}", path.toString());
        }
    }
}
